package com.eksboot.cxf;



/**
 * CxfClient
 *
 * @author: chenfenghai
 * @version: 1.0
 * @date: 2021-03-05 15:29
 */
public class CxfClient {

    public static void main(String[] args) {
//        try{
//            JaxWsDynamicClientFactory dcf = JaxWsDynamicClientFactory.newInstance();
//            Client client = dcf.createClient("http://10.180.7.151:10469/cms-ws/ws/iceCommonService?wsdl");
//            String data = "{\"business_date\":\"2021-03-04\",\"cinema_code\":\"11050611\",\"usbkey\":\"YfRoCUENz2OJtkPhngYCH6XNnkNLqd\"}";
//            Object[] result = client.invoke("execute", "getBoxOffice", "51cc733f-145e-43bb-8b7b-ee30246c89ad", data);
//            System.out.println(result[0]);
//        }catch (Exception ex){
//
//        }
    }
}
